package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.CheckItem;
import com.itheima.health.pojo.Menu;

import java.util.List;

/**
 * @BelongsProject: itcast_health
 * @BelongsPackage: com.itheima.health.service
 * @Author: ${Shiu}
 * @CreateTime: 2020-02-22 22:02
 * @Description: 菜单业务层接口
 */
public interface MenuService {

    public Menu findById(Integer id);

    public void edit(Menu menu);

    void  delete(Integer id);

    PageResult pageQuery(QueryPageBean queryPageBean);

    void add(Menu menu);

    /**
     * 查询所有套餐
     * @return
     */
    List<Menu> findAll();
}
